﻿using Asterisk.NET.FastAGI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace $safeprojectname$.AGIScripts
{
    /*
     * The FastAGIScript1 class extends the AGIScript class from Asterisk.NET.FastAGI
     * Each time you want to create a new AGIScript you should create a new class
     * and ensure that it extends the same 'AGIScript' class.
     * 
     * For your AGI Script to work, it must override the method 'Service' as
     * outlined below.
    */
    public class FastAGIScript1 : AGIScript
    {
        public override void Service(AGIRequest param1, AGIChannel param2)
        {
            /*
             * Implement your AGI Script here.
             * e.g.
             * 
             * Answer();
             * 
             * StreamFile("demo-congrats");
             * 
             * Hangup();
             * 
             */

            throw new NotImplementedException();
        }
    }
}
